package com.yanqu.road.entity.assistant;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.DataStatus;

@FieldTypeAnnotation(tableName = "t_u_assistant_decoration")
public class UserAssistantDecoration extends DataObject {
    @FieldTypeAnnotation(desc = "用户id",select = true,update = true)
    private long userId;
    @FieldTypeAnnotation(desc = "装扮id",select = true,update = true)
    private int decorationId;
    @FieldTypeAnnotation(desc = "装扮等级")
    private int decorationLevel;
    @FieldTypeAnnotation(desc = "盛装值")
    private long dressScore;

    public long getUserId() {
        return userId;
    }
    public void setUserId(long userId) {
        if (this.userId != userId) {
            this.userId = userId;
            setOp(DataStatus.Update);
        }
    }

    public int getDecorationId() {
        return decorationId;
    }
    public void setDecorationId(int decorationId) {
        if (this.decorationId != decorationId) {
            this.decorationId = decorationId;
            setOp(DataStatus.Update);
        }
    }

    public int getDecorationLevel() {
        return decorationLevel;
    }
    public void setDecorationLevel(int decorationLevel) {
        if (this.decorationLevel != decorationLevel) {
            this.decorationLevel = decorationLevel;
            setOp(DataStatus.Update);
        }
    }

    public long getDressScore() {
        return dressScore;
    }
    public void setDressScore(long dressScore) {
        if (this.dressScore != dressScore) {
            this.dressScore = dressScore;
            setOp(DataStatus.Update);
        }
    }

}
